package org.snail.admin.backend.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class UserEntity {
    public UserEntity() {
    }

    public UserEntity(Long id, LocalDate birthday, LocalDateTime createTime, String name, Float pay, String password) {
        this.id = id;
        this.birthday = birthday;
        this.createTime = createTime;
        this.name = name;
        this.pay = pay;
        this.password = password;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPay() {
        return pay;
    }

    public void setPay(Float pay) {
        this.pay = pay;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    // Getters and Setters
    private Long id;
    private LocalDate birthday;
    private LocalDateTime createTime;
    private String name;
    private Float pay;
    private String password;

}